lib/repo: Cleanup current boot's staging dir min-free-space-* checks are hit
authorUmang Jain <umang@endlessm.com>
Tue, 26 Jun 2018 21:10:15 +0000 (02:40 +0530)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 27 Jun 2018 19:02:02 +0000 (19:02 +0000)
commitd686056254294fcabff472e71ebe486ec82e070e
treea75ae115b8773aaf68ecd5e4d901b25589dd4c53
parent1074668ede14345678fe8220814a8fed1d432475
lib/repo: Cleanup current boot's staging dir min-free-space-* checks are hit

min-free-space-* act as a gating condition whether to we want hold onto caches in
repo/tmp. If it is found that the free-disk space is going below this threshold,
we flag it as an error and cleanup current boot's staging directory.

Closes: #1602
Approved by: jlebon
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-private.h